CreateSelector<T,X>(String) Method
In This Topic
Creates a Function to evaluate a given property path on a given object. For the property path: MyProperty1.MyProperty2 it will return the following function: i => i.MyProperty1.MyProperty2
Syntax
Parameters
- path
- The path.
Type Parameters
- T
- Type of the element where the property path will be accessed.
- X
- Type of the result after evaluated the full property path.
Example
For the property path: MyProperty1.MyProperty2 it will return the following function: i => i.MyProperty1.MyProperty2
See Also